import Vue from 'vue'
import App from './App.vue'
import router from './router'
// 导入Vuex
import store from './store'

// 导入重置样式表
import './assets/css/reset.css'	
// 引入字体图标
import './assets/fonts/iconfont.css'
// 导入Element ui
import './plugins/element.js'
// 导入全局样式表
import './assets/css/global.css'	

	
// 导入axios
import axios from 'axios'
// 导入vue-axios
import VueAxios from 'vue-axios'

// 配置请求的根路径
axios.defaults.baseURL = 'http://119.3.104.39:2302/api'
// 把axios挂载到Vue的原型对象上
Vue.prototype.$http = axios
Vue.use(VueAxios, axios)


Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')

